﻿@model KRM.Core.vLoadDetail
<div class="container-fluid">
    <div class="row-fluid">
        <fieldset>
            <legend>Load Deliver Detail</legend>
            <form class="margin0" method="POST" action="/load/updateloaddeliver" id="fr-updateloaddeliver">
                <input type="hidden" name="loadid" value="@Model.LoadID" />
                <div class="row-fluid">
                    <div class="span4">
                        <div class="span3">Load Code</div>
                        <div class="span9">
                            <input type="text" class="form-control input-block-level" value="@Model.LoadCode" readonly="readonly" />
                        </div>
                    </div>
                    <div class="span4">
                        <div class="span3">
                            Driver Name
                        </div>
                        <div class="span9">
                            @Html.DropDownList("DriverID", null, new { @class = "input-block-level" })
                        </div>
                    </div>
                    <div class="span4">
                        <div class="span3">
                            Vehicle
                        </div>
                        <div class="span9">
                            @Html.DropDownList("VehicleID", null, new { @class = "input-block-level" })
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span4">
                        <div class="span3">
                            Load Status
                        </div>
                        <div class="span9">
                            @Html.DropDownList("StatusID", null, new { @class = "input-block-level" })
                        </div>
                    </div>
                    <div class="span4">
                        <div class="span3">
                            Planned Delivery Date
                        </div>
                        <div class="span9">
                            <div class="input-append datetimepicker input-block-level">
                                <input data-format="dd/MM/yyyy hh:mm:ss" type="text" name="PlannedDeliveryDate" style="width: 81%" value="@string.Format("{0:dd/MM/yyyy hh:mm:ss}", Model.PlannedDeliveryDate)">
                                <span class="add-on">
                                    <i data-time-icon="icon-time" data-date-icon="icon-calendar" class="icon-calendar"></i>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="span4">
                        <div class="span3">
                            Despatch Date
                        </div>
                        <div class="span9">
                            <div class="input-append datetimepicker input-block-level">
                                <input data-format="dd/MM/yyyy hh:mm:ss" type="text" name="DespatchDate" style="width: 81%" value="@string.Format("{0:dd/MM/yyyy hh:mm:ss}", Model.DespatchDate)">
                                <span class="add-on">
                                    <i data-time-icon="icon-time" data-date-icon="icon-calendar" class="icon-calendar"></i>
                                </span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="text-right row-fluid">
                    <input type="submit" class="btn btn-success w90" value="Save" />
                    <input type="button" class="btn w90" value="Cancel" />
                </div>
            </form>
        </fieldset>
    </div>
</div>